package com.dongdongshop.shiro;

import com.dongdongshop.enums.LoginTypeEnum;
import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

@Data
public class DdUsernamePasswordToken extends UsernamePasswordToken {
    private LoginTypeEnum loginEnum;

    public DdUsernamePasswordToken(String username, String password, LoginTypeEnum loginEnum) {
        super(username, password);
        this.loginEnum = loginEnum;
    }
}
